import { addSearch } from "../blocks/other/addSearch"
import { addSelect } from "../blocks/other/select"
import { addCouplet } from "../blocks/other/couplet"
import { addNotification } from "../blocks/other/addNotification"
import { addDate } from '../blocks/other/addDate'
// import { addTest } from '../blocks/other/addTest'
import { addCommonSearch } from '../blocks/other/addCommonSearch'
import { addRibbonCard } from '../blocks/other/addRibbonCard'
import { hoverBlock } from '../blocks/other/hoverBlock'
import { addUploadFile } from "../blocks/other/addUploadFile"

export const OtherBlockManager = (editor) => {
    //----------------------------------------------------------------------------------------------
    // 搜索栏
    addSearch(editor);
    //----------------------------------------------------------------------------------------------
    // 下拉框
    addSelect(editor);
    //----------------------------------------------------------------------------------------------
    // 对联广告
    addCouplet(editor);
    //----------------------------------------------------------------------------------------------
    // 横向滚动广告栏
    addNotification(editor);
    //----------------------------------------------------------------------------------------------
    // 日历
    addDate(editor);
    //----------------------------------------------------------------------------------------------
    // 普通搜索框
    addCommonSearch(editor);
    //----------------------------------------------------------------------------------------------
    // 丝带卡片
    addRibbonCard(editor);
    //---------------------------------------------------------------------------------------------
    // 悬浮卡片
    hoverBlock(editor);
    //----------------------------------------------------------------------------------------------
    // 上传文件
    addUploadFile(editor);
    // 测试
    // addTest(editor);
}